import { createRouter, createWebHistory } from 'vue-router'
import DbFront from '@/components/DbFront.vue'
import DbList from '@/components/DbList.vue'
const routes = [
    {
        path: '/',
        name: 'DbFront',
        component: DbFront
    },
    {
        path: '/dbList',
        name: 'DbList',
        component: DbList
    }
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router
